﻿
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;

namespace Oliving.Edge.Model.Dto.WY
{
    ///<summary>
    ///
    ///</summary> 

    [Serializable]
    public class WY_ProjectDto
    {
        public WY_ProjectDto()
        {
        }



        public string ComID { get; set; }
        /// <summary> 
        /// Desc:主键 
        /// Default: 
        /// Nullable:False 
        /// </summary>  
        public string Id { get; set; } = Guid.NewGuid().ToString();

        /// <summary> 
        /// Desc:项目名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "项目名称不能为空,内存长度超出 范围")]
        public string ProName { get; set; }

        /// <summary> 
        /// Desc:项目地址 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "项目地址不能为空,内存长度超出 范围")]
        public string ProAddress { get; set; }

        /// <summary> 
        /// Desc:甲方名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "甲方名称不能为空,内存长度超出 范围")]
        public string PartyA { get; set; }

        /// <summary> 
        /// Desc:甲方联系人 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "甲方联系人不能为空,内存长度超出 范围")]
        public string PartyAUserName { get; set; }

        /// <summary> 
        /// Desc:甲方联系电话 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "甲方联系电话不能为空,内存长度超出 范围")]
        public string PartyAPhone { get; set; }

        /// <summary> 
        /// Desc:项目负责人 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "项目负责人不能为空,内存长度超出 范围")]
        public string ProUser { get; set; }

        /// <summary> 
        /// Desc:纬度 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "纬度不能为空,内存长度超出 范围")]
        public string Lat { get; set; }

        /// <summary> 
        /// Desc:经度 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "经度不能为空,内存长度超出 范围")]
        public string Lng { get; set; }

        /// <summary> 
        /// Desc:描述 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "描述不能为空,内存长度超出 范围")]
        public string ProRemark { get; set; }

        /// <summary> 
        /// Desc:排序码--------------------------- 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int SortCode { get; set; }

        /// <summary> 
        /// Desc:删除标记 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int DeleteMark { get; set; }

        /// <summary> 
        /// Desc:有效标志 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public int EnabledMark { get; set; }

        /// <summary> 
        /// Desc:创建日期 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? CreateDate { get; set; }

        /// <summary> 
        /// Desc:创建用户主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "创建用户主键不能为空,内存长度超出 范围")]
        public string CreateUserId { get; set; }

        /// <summary> 
        /// Desc:创建用户 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "创建用户不能为空,内存长度超出 范围")]
        public string CreateUserName { get; set; }

        /// <summary> 
        /// Desc:修改日期 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        public DateTime? ModifyDate { get; set; }

        /// <summary> 
        /// Desc:修改用户主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "修改用户主键不能为空,内存长度超出 范围")]
        public string ModifyUserId { get; set; }

        /// <summary> 
        /// Desc:修改用户 
        /// Default: 
        /// Nullable:True 
        /// </summary> 
        [StringLength(100, MinimumLength = 1, ErrorMessage = "修改用户不能为空,内存长度超出 范围")]
        public string ModifyUserName { get; set; }

    }

}
